<?php
class Cron_Action_Helper_BaseInit extends Zend_Controller_Action_Helper_Abstract
{
	public function predispatch()
	{
		return $this->baseInit();
	}
	
	public function baseInit()
	{
		$config		= Zend_Registry::get('configuration');
		$controller = $this->getActionController();
		
		$controller->view->lang = $config->language;
		
		$controller->getHelper('viewRenderer')->setNoRender(true);
		$controller->getHelper('layout')->disableLayout();
		
		

		$controller->lang		 	= $config->language;
		$controller->system		 	= $config->system;
		
	}

	

}